package com.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 收货地址表 实体类。
 *
 * @author admin
 * @since 2024-06-12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("f_address")
public class FAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 索引
     */
    @Id(keyType = KeyType.Auto)
    private Integer id;

    /**
     * 会员名称
     */
    private String userName;

    /**
     * 会员手机号
     */
    private String phone;

    /**
     * 会员地址
     */
    private String address;

    /**
     * 是否默认地址
     */
    private Integer isDefault;

    /**
     * 会员Id
     */
    private Integer userId;

}
